<!-- 自定义设置面板 -->
<template>
    <component :is="`${type}-setting`" />
</template>

<script>
import { defineComponent, toRefs } from 'vue'
import SettingPane from './components.js'
export default defineComponent({
    name: 'CustomSettingPane',
    components: {
        ...SettingPane
    },
    props: {
        type: {
            type: String,
            default: ''
        }
    },
    setup(props) {
        const { type } = toRefs(props)

        return {
            type
        }
    }
})
</script>